package com.cn.transfer.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Builder;
import lombok.Data;

/**
 * @author: 向伟典
 * @date: 2023/9/1 14:37
 * @Description: ${description}
 */
@Data
@Builder
@TableName(value = "PU_PurchaseOrder")
public class PuPurchaseOrder {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "code")
    private String code;

    @TableField(value = "discountRate")
    private BigDecimal discountrate;

    @TableField(value = "exchangeRate")
    private BigDecimal exchangerate;

    @TableField(value = "linkMan")
    private String linkman;

    @TableField(value = "linkTelphone")
    private String linktelphone;

    @TableField(value = "contractId")
    private String contractid;

    @TableField(value = "earnestMoney")
    private BigDecimal earnestmoney;

    @TableField(value = "memo")
    private String memo;

    @TableField(value = "origTotalAmount")
    private BigDecimal origtotalamount;

    @TableField(value = "totalAmount")
    private BigDecimal totalamount;

    @TableField(value = "origTotalTaxAmount")
    private BigDecimal origtotaltaxamount;

    @TableField(value = "totalTaxAmount")
    private BigDecimal totaltaxamount;

    @TableField(value = "saleOrderCode")
    private String saleordercode;

    @TableField(value = "acceptAddress")
    private String acceptaddress;

    @TableField(value = "isNoModify")
    private String isnomodify;

    @TableField(value = "origEarnestMoney")
    private BigDecimal origearnestmoney;

    @TableField(value = "maker")
    private String maker;

    @TableField(value = "auditor")
    private String auditor;

    @TableField(value = "reviser")
    private String reviser;

    @TableField(value = "iscarriedforwardout")
    private Byte iscarriedforwardout;

    @TableField(value = "iscarriedforwardin")
    private Byte iscarriedforwardin;

    @TableField(value = "ismodifiedcode")
    private Byte ismodifiedcode;

    @TableField(value = "docclass")
    private String docclass;

    @TableField(value = "docid")
    private String docid;

    @TableField(value = "ts")
    private Date ts;

    @TableField(value = "updatedBy")
    private String updatedby;

    @TableField(value = "priuserdefnvc1")
    private String priuserdefnvc1;

    @TableField(value = "priuserdefdecm1")
    private BigDecimal priuserdefdecm1;

    @TableField(value = "priuserdefnvc2")
    private String priuserdefnvc2;

    @TableField(value = "priuserdefdecm2")
    private BigDecimal priuserdefdecm2;

    @TableField(value = "priuserdefnvc3")
    private String priuserdefnvc3;

    @TableField(value = "priuserdefdecm3")
    private BigDecimal priuserdefdecm3;

    @TableField(value = "priuserdefnvc4")
    private String priuserdefnvc4;

    @TableField(value = "priuserdefdecm4")
    private BigDecimal priuserdefdecm4;

    @TableField(value = "priuserdefnvc5")
    private String priuserdefnvc5;

    @TableField(value = "priuserdefdecm5")
    private BigDecimal priuserdefdecm5;

    @TableField(value = "priuserdefnvc6")
    private String priuserdefnvc6;

    @TableField(value = "priuserdefdecm6")
    private BigDecimal priuserdefdecm6;

    @TableField(value = "pubuserdefnvc1")
    private String pubuserdefnvc1;

    @TableField(value = "pubuserdefdecm1")
    private BigDecimal pubuserdefdecm1;

    @TableField(value = "pubuserdefnvc2")
    private String pubuserdefnvc2;

    @TableField(value = "pubuserdefdecm2")
    private BigDecimal pubuserdefdecm2;

    @TableField(value = "pubuserdefnvc3")
    private String pubuserdefnvc3;

    @TableField(value = "pubuserdefdecm3")
    private BigDecimal pubuserdefdecm3;

    @TableField(value = "pubuserdefnvc4")
    private String pubuserdefnvc4;

    @TableField(value = "pubuserdefdecm4")
    private BigDecimal pubuserdefdecm4;

    @TableField(value = "pubuserdefnvc5")
    private String pubuserdefnvc5;

    @TableField(value = "pubuserdefdecm5")
    private BigDecimal pubuserdefdecm5;

    @TableField(value = "pubuserdefnvc6")
    private String pubuserdefnvc6;

    @TableField(value = "pubuserdefdecm6")
    private BigDecimal pubuserdefdecm6;

    @TableField(value = "sourceVoucherCode")
    private String sourcevouchercode;

    @TableField(value = "changer")
    private String changer;

    @TableField(value = "PrintCount")
    private Integer printcount;

    @TableField(value = "prePaymentAmount")
    private BigDecimal prepaymentamount;

    @TableField(value = "origPrePaymentAmount")
    private BigDecimal origprepaymentamount;

    @TableField(value = "collaborateVoucherCode")
    private String collaboratevouchercode;

    @TableField(value = "ExternalCode")
    private String externalcode;

    @TableField(value = "idbusinesstype")
    private Integer idbusinesstype;

    @TableField(value = "idcurrency")
    private Integer idcurrency;

    @TableField(value = "iddepartment")
    private Integer iddepartment;

    @TableField(value = "idmarketingOrgan")
    private Integer idmarketingorgan;

    @TableField(value = "idpartner")
    private Integer idpartner;

    @TableField(value = "idclerk")
    private Integer idclerk;

    @TableField(value = "idproject")
    private Integer idproject;

    @TableField(value = "idCollaborateDownVoucherType")
    private Integer idcollaboratedownvouchertype;

    @TableField(value = "CollaborateState")
    private Integer collaboratestate;

    @TableField(value = "idCollaborateDownDraftVoucher")
    private Integer idcollaboratedowndraftvoucher;

    @TableField(value = "idwarehouse")
    private Integer idwarehouse;

    @TableField(value = "arrivalState")
    private Integer arrivalstate;

    @TableField(value = "deliveryMode")
    private Integer deliverymode;

    @TableField(value = "inStockState")
    private Integer instockstate;

    @TableField(value = "payType")
    private Integer paytype;

    @TableField(value = "voucherState")
    private Integer voucherstate;

    @TableField(value = "auditorid")
    private Integer auditorid;

    @TableField(value = "makerid")
    private Integer makerid;

    @TableField(value = "changerid")
    private Integer changerid;

    @TableField(value = "idCollaborateUpVoucherType")
    private Integer idcollaborateupvouchertype;

    @TableField(value = "idCollaborateUpVoucher")
    private Integer idcollaborateupvoucher;

    @TableField(value = "saleOrderId")
    private Integer saleorderid;

    @TableField(value = "idsourcevouchertype")
    private Integer idsourcevouchertype;

    @TableField(value = "acceptDate")
    private Date acceptdate;

    @TableField(value = "voucherdate")
    private Date voucherdate;

    @TableField(value = "madedate")
    private Date madedate;

    @TableField(value = "auditeddate")
    private Date auditeddate;

    @TableField(value = "createdtime")
    private Date createdtime;

    @TableField(value = "updated")
    private Date updated;

    @TableField(value = "sourceVoucherDate")
    private Date sourcevoucherdate;

    @TableField(value = "changedate")
    private Date changedate;

    @TableField(value = "ClosedBy")
    private String closedby;

    @TableField(value = "ClosedTime")
    private Date closedtime;

    @TableField(value = "DataSource")
    private Integer datasource;

    @TableField(value = "pubuserdefnvc7")
    private String pubuserdefnvc7;

    @TableField(value = "pubuserdefnvc8")
    private String pubuserdefnvc8;

    @TableField(value = "IsQualityArrivalState")
    private Integer isqualityarrivalstate;

    @TableField(value = "agency")
    private String agency;

    @TableField(value = "agencyid")
    private Integer agencyid;

    @TableField(value = "OrigPayReqAmount")
    private BigDecimal origpayreqamount;

    @TableField(value = "PayReqAmount")
    private BigDecimal payreqamount;

    @TableField(value = "OrigPayOffAmount")
    private BigDecimal origpayoffamount;

    @TableField(value = "PayOffAmount")
    private BigDecimal payoffamount;

    @TableField(value = "OrigPayReqableAmount")
    private BigDecimal origpayreqableamount;

    @TableField(value = "PayReqableAmount")
    private BigDecimal payreqableamount;

    @TableField(value = "TransDocNo")
    private String transdocno;

    @TableField(value = "LogisticsCampany")
    private Integer logisticscampany;

    @TableField(value = "ShipStatus")
    private Integer shipstatus;

    @TableField(value = "ConfirmConsignor")
    private String confirmconsignor;

    @TableField(value = "ConfirmConsignorTime")
    private String confirmconsignortime;

    @TableField(value = "IsStockRequestAutoTransfer")
    private Byte isstockrequestautotransfer;

    @TableField(value = "AuditedTime")
    private Date auditedtime;

    @TableField(value = "pubuserdefnvc9")
    private String pubuserdefnvc9;

    @TableField(value = "pubuserdefnvc10")
    private String pubuserdefnvc10;

    @TableField(value = "idSourceMarketingOrgan")
    private Integer idsourcemarketingorgan;

    @TableField(value = "busOpAttachCount")
    private Integer busopattachcount;

    public static final String COL_ID = "id";

    public static final String COL_CODE = "code";

    public static final String COL_DISCOUNTRATE = "discountRate";

    public static final String COL_EXCHANGERATE = "exchangeRate";

    public static final String COL_LINKMAN = "linkMan";

    public static final String COL_LINKTELPHONE = "linkTelphone";

    public static final String COL_CONTRACTID = "contractId";

    public static final String COL_EARNESTMONEY = "earnestMoney";

    public static final String COL_MEMO = "memo";

    public static final String COL_ORIGTOTALAMOUNT = "origTotalAmount";

    public static final String COL_TOTALAMOUNT = "totalAmount";

    public static final String COL_ORIGTOTALTAXAMOUNT = "origTotalTaxAmount";

    public static final String COL_TOTALTAXAMOUNT = "totalTaxAmount";

    public static final String COL_SALEORDERCODE = "saleOrderCode";

    public static final String COL_ACCEPTADDRESS = "acceptAddress";

    public static final String COL_ISNOMODIFY = "isNoModify";

    public static final String COL_ORIGEARNESTMONEY = "origEarnestMoney";

    public static final String COL_MAKER = "maker";

    public static final String COL_AUDITOR = "auditor";

    public static final String COL_REVISER = "reviser";

    public static final String COL_ISCARRIEDFORWARDOUT = "iscarriedforwardout";

    public static final String COL_ISCARRIEDFORWARDIN = "iscarriedforwardin";

    public static final String COL_ISMODIFIEDCODE = "ismodifiedcode";

    public static final String COL_DOCCLASS = "docclass";

    public static final String COL_DOCID = "docid";

    public static final String COL_TS = "ts";

    public static final String COL_UPDATEDBY = "updatedBy";

    public static final String COL_PRIUSERDEFNVC1 = "priuserdefnvc1";

    public static final String COL_PRIUSERDEFDECM1 = "priuserdefdecm1";

    public static final String COL_PRIUSERDEFNVC2 = "priuserdefnvc2";

    public static final String COL_PRIUSERDEFDECM2 = "priuserdefdecm2";

    public static final String COL_PRIUSERDEFNVC3 = "priuserdefnvc3";

    public static final String COL_PRIUSERDEFDECM3 = "priuserdefdecm3";

    public static final String COL_PRIUSERDEFNVC4 = "priuserdefnvc4";

    public static final String COL_PRIUSERDEFDECM4 = "priuserdefdecm4";

    public static final String COL_PRIUSERDEFNVC5 = "priuserdefnvc5";

    public static final String COL_PRIUSERDEFDECM5 = "priuserdefdecm5";

    public static final String COL_PRIUSERDEFNVC6 = "priuserdefnvc6";

    public static final String COL_PRIUSERDEFDECM6 = "priuserdefdecm6";

    public static final String COL_PUBUSERDEFNVC1 = "pubuserdefnvc1";

    public static final String COL_PUBUSERDEFDECM1 = "pubuserdefdecm1";

    public static final String COL_PUBUSERDEFNVC2 = "pubuserdefnvc2";

    public static final String COL_PUBUSERDEFDECM2 = "pubuserdefdecm2";

    public static final String COL_PUBUSERDEFNVC3 = "pubuserdefnvc3";

    public static final String COL_PUBUSERDEFDECM3 = "pubuserdefdecm3";

    public static final String COL_PUBUSERDEFNVC4 = "pubuserdefnvc4";

    public static final String COL_PUBUSERDEFDECM4 = "pubuserdefdecm4";

    public static final String COL_PUBUSERDEFNVC5 = "pubuserdefnvc5";

    public static final String COL_PUBUSERDEFDECM5 = "pubuserdefdecm5";

    public static final String COL_PUBUSERDEFNVC6 = "pubuserdefnvc6";

    public static final String COL_PUBUSERDEFDECM6 = "pubuserdefdecm6";

    public static final String COL_SOURCEVOUCHERCODE = "sourceVoucherCode";

    public static final String COL_CHANGER = "changer";

    public static final String COL_PRINTCOUNT = "PrintCount";

    public static final String COL_PREPAYMENTAMOUNT = "prePaymentAmount";

    public static final String COL_ORIGPREPAYMENTAMOUNT = "origPrePaymentAmount";

    public static final String COL_COLLABORATEVOUCHERCODE = "collaborateVoucherCode";

    public static final String COL_EXTERNALCODE = "ExternalCode";

    public static final String COL_IDBUSINESSTYPE = "idbusinesstype";

    public static final String COL_IDCURRENCY = "idcurrency";

    public static final String COL_IDDEPARTMENT = "iddepartment";

    public static final String COL_IDMARKETINGORGAN = "idmarketingOrgan";

    public static final String COL_IDPARTNER = "idpartner";

    public static final String COL_IDCLERK = "idclerk";

    public static final String COL_IDPROJECT = "idproject";

    public static final String COL_IDCOLLABORATEDOWNVOUCHERTYPE = "idCollaborateDownVoucherType";

    public static final String COL_COLLABORATESTATE = "CollaborateState";

    public static final String COL_IDCOLLABORATEDOWNDRAFTVOUCHER = "idCollaborateDownDraftVoucher";

    public static final String COL_IDWAREHOUSE = "idwarehouse";

    public static final String COL_ARRIVALSTATE = "arrivalState";

    public static final String COL_DELIVERYMODE = "deliveryMode";

    public static final String COL_INSTOCKSTATE = "inStockState";

    public static final String COL_PAYTYPE = "payType";

    public static final String COL_VOUCHERSTATE = "voucherState";

    public static final String COL_AUDITORID = "auditorid";

    public static final String COL_MAKERID = "makerid";

    public static final String COL_CHANGERID = "changerid";

    public static final String COL_IDCOLLABORATEUPVOUCHERTYPE = "idCollaborateUpVoucherType";

    public static final String COL_IDCOLLABORATEUPVOUCHER = "idCollaborateUpVoucher";

    public static final String COL_SALEORDERID = "saleOrderId";

    public static final String COL_IDSOURCEVOUCHERTYPE = "idsourcevouchertype";

    public static final String COL_ACCEPTDATE = "acceptDate";

    public static final String COL_VOUCHERDATE = "voucherdate";

    public static final String COL_MADEDATE = "madedate";

    public static final String COL_AUDITEDDATE = "auditeddate";

    public static final String COL_CREATEDTIME = "createdtime";

    public static final String COL_UPDATED = "updated";

    public static final String COL_SOURCEVOUCHERDATE = "sourceVoucherDate";

    public static final String COL_CHANGEDATE = "changedate";

    public static final String COL_CLOSEDBY = "ClosedBy";

    public static final String COL_CLOSEDTIME = "ClosedTime";

    public static final String COL_DATASOURCE = "DataSource";

    public static final String COL_PUBUSERDEFNVC7 = "pubuserdefnvc7";

    public static final String COL_PUBUSERDEFNVC8 = "pubuserdefnvc8";

    public static final String COL_ISQUALITYARRIVALSTATE = "IsQualityArrivalState";

    public static final String COL_AGENCY = "agency";

    public static final String COL_AGENCYID = "agencyid";

    public static final String COL_ORIGPAYREQAMOUNT = "OrigPayReqAmount";

    public static final String COL_PAYREQAMOUNT = "PayReqAmount";

    public static final String COL_ORIGPAYOFFAMOUNT = "OrigPayOffAmount";

    public static final String COL_PAYOFFAMOUNT = "PayOffAmount";

    public static final String COL_ORIGPAYREQABLEAMOUNT = "OrigPayReqableAmount";

    public static final String COL_PAYREQABLEAMOUNT = "PayReqableAmount";

    public static final String COL_TRANSDOCNO = "TransDocNo";

    public static final String COL_LOGISTICSCAMPANY = "LogisticsCampany";

    public static final String COL_SHIPSTATUS = "ShipStatus";

    public static final String COL_CONFIRMCONSIGNOR = "ConfirmConsignor";

    public static final String COL_CONFIRMCONSIGNORTIME = "ConfirmConsignorTime";

    public static final String COL_ISSTOCKREQUESTAUTOTRANSFER = "IsStockRequestAutoTransfer";

    public static final String COL_AUDITEDTIME = "AuditedTime";

    public static final String COL_PUBUSERDEFNVC9 = "pubuserdefnvc9";

    public static final String COL_PUBUSERDEFNVC10 = "pubuserdefnvc10";

    public static final String COL_IDSOURCEMARKETINGORGAN = "idSourceMarketingOrgan";

    public static final String COL_BUSOPATTACHCOUNT = "busOpAttachCount";
}